<template>
  <div id="app">
     <router-view/>
    <div id="nav">
      <router-link to="/films" >电影</router-link> 
      <router-link to="/cinemas" >影院</router-link>
       <router-link to="/infos" >咨询</router-link> 
      <router-link to="/center" >我的</router-link>
    </div>
   
  </div>
</template>

<style lang="scss">
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}

#nav {
 
  padding: 10px 30px;
  display: flex;
  justify-content: space-around;
  a {
    font-weight: bold;
    color: #2c3e50;

    &.router-link-exact-active {
      color: #42b983;
    }
  }
}
</style>
